package com.springmvc.crud.handler;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * Created by BF100233 on 2016/10/12.
 */
@ControllerAdvice
@ResponseStatus(value = HttpStatus.FORBIDDEN,reason = "用户名和密码不匹配")
public class UsernameNotMatchPasswordException extends RuntimeException {

}
